<?
global $infopark;
if($_SERVER['REDIRECT_URL']=='/events/engine'):
### need for static event page
?>
<article id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
<?=l($node->title,'node/'.$node->nid);?>
</article>
<?
else:
?>
<?php if (!$page): ?>
    <article id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
    <?php endif; ?>
	
    <h1 class="title"><?php print $node->title; ?></h1>

    <div class="event_area">

		<div class="info_thumb">
		
            

		</div>
		<div class="full_content1">
               <? echo $infopark->video_player($node);?>
<div class="placedescription">
            <?php echo nl2br($node->body['und'][0]['value']); ?>
</div><?php if (user_access('bypass node access')) : ?>
            <div class="admin-link1">
            <?php echo l('Редактировать', 'node/' . $node->nid . '/edit'); ?>
            </div>
        <?php endif;?>
        
		<?
		## связь с новостью
	#	echo _advert_comp_news_link($node->nid); 
		?>
		
		<div class="fb-like" data-send="true" data-width="450" data-show-faces="true"></div>

		</div>
    </div>
	
<?
#sites/modules/advert/advert_compromise.inc
#echo _fb_vk_comments();
echo _spec_event_related($node->field_related['und'][0]['value']);
/*
?>	
<ul class="com_tabs"><li class="tabfb" onclick="sw_com('fb')">FB</li><li class="tabvk" onclick="sw_com('vk')">VK</li></ul>
<div class="fb com_box"><div class="fb-comments" data-href="http://infopark.com.ua<?php echo $_SERVER['REDIRECT_URL']; ?>" data-num-posts="5" data-width="300"></div></div>
<div class="vk com_box">
<!-- Put this div tag to the place, where the Comments block will be -->
<div id="vk-comments"></div></div>
<script type="text/javascript">
VK.Widgets.Comments("vk-comments", {limit: 10, width: "auto", attach: "*"});


jQuery(document).ready(function() {

//comments init
jQuery('.vk').hide();
jQuery('.tabfb').addClass("active_tab");


});
</script>*/

?>
<?php if (!$page): ?>
    </article>
<?php endif; ?>
<?php endif; ?>